package com.egao.orderB.service;

import com.egao.common.core.damon.results.PageResult2;
import com.egao.common.core.web.JsonResult;
import com.egao.common.system.entity.User;
import com.egao.orderB.entity.ApplyCustoms;
import com.egao.orderB.entity.ApplyCustomsFee;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * 报关费用服务类
 * @author : Doman
 * @date : 2021-09-08 14:39:54
 * @version ：1.0
 */
public interface ApplyCustomsFeeService /*extends IService<ApplyCustomsFee>*/ {

  /**
	 * 分页查询
	 * @param page
	 * @param applyCustomsFee
	 * @return
	 */
	public JsonResult list(PageResult2<T> page, ApplyCustomsFee applyCustomsFee, User loginUser) throws Exception;

	/**
	 * 获取list
	 * @param applyCustomsFee
	 * @return
	 */
	public JsonResult list(ApplyCustomsFee applyCustomsFee, User loginUser);

	/**
	 * 获取list
	 * @param applyCustoms
	 * @return
	 */
	public List<String> feeNames(ApplyCustoms applyCustoms, List<String> feeNames, User loginUser);

	/**
	 * 根据Id查询
	 * @param applyCustomsFee
	 * @return
	 */
	public JsonResult getById(ApplyCustomsFee applyCustomsFee);

	/**
	 * 保存
	 * @param applyCustomsFee
	 * @param loginUser
	 * @return
	 */
	public JsonResult save(ApplyCustomsFee applyCustomsFee, User loginUser);

	/**
	 * 修改
	 * @param applyCustomsFee
	 * @param loginUser
	 * @return
	 */
	public JsonResult update(ApplyCustomsFee applyCustomsFee, User loginUser);

	/**
	 * 删除
	 * @param applyCustomsFee
	 * @param loginUser
	 * @return
	 */
	public JsonResult remove(ApplyCustomsFee applyCustomsFee, User loginUser);

	/**
	 * 获取list
	 * @return
	 */
	public JsonResult exportsFinance(List<ApplyCustoms> applyCustomsList,List<String> feeNamesys, List<String> feeNamesyf, ApplyCustoms applyCustoms)throws Exception;

	/**
	 * 获取list
	 * @return
	 */
	public JsonResult exportsCustomer(List<ApplyCustoms> applyCustomsList,List<String> feeNamesys, List<String> feeNamesyf, ApplyCustoms applyCustoms)throws Exception;

	/**
	 * 获取list
	 * @return
	 */
	public JsonResult exportsApplyCustoms(List<ApplyCustoms> applyCustomsList,List<String> feeNamesys, List<String> feeNamesyf, ApplyCustoms applyCustoms)throws Exception;

}
